package com.ftg.wymall.feign;

import com.ftg.wymall.comm.vo.RespMessUtil;
import com.ftg.wymall.dto.UserInfo;
import com.ftg.wymall.vo.UmsAdminVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author kangjx
 * @version 1.0
 * @date 2023/10/19 上午9:37
 */
@FeignClient("umlmallservice")
public interface UserCenterFeignClient {

    @PostMapping("/ums/admin/umsAdmin/login")
    RespMessUtil<UmsAdminVo> login(@RequestBody UserInfo userinfo);

}
